package com.strange.mdl.module.mdl.controller.admin.incense.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 供香记录新增/修改 Request VO")
@Data
public class IncenseSaveReqVO {

    @Schema(description = "供香主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26152")
    private Long id;

    @Schema(description = "用户ID", example = "19491")
    private Long userId;

    @Schema(description = "佛像名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "佛像名称不能为空")
    private String buddha;

    @Schema(description = "佛像URL", example = "https://www.iocoder.cn")
    private String buddhaUrl;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @Schema(description = "0灭灯 1点灯", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "0灭灯 1点灯不能为空")
    private Integer lamp;

    @Schema(description = "供品")
    private String offering;

    @Schema(description = "供品URL", example = "https://www.iocoder.cn")
    private String offeringUrl;

    @Schema(description = "0男 1女 2保密", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "0男 1女 2保密不能为空")
    private Integer gender;

    @Schema(description = "年龄")
    private Short age;

    @Schema(description = "地区")
    private String region;

    @Schema(description = "0祈愿 1还愿 2忏悔", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "0祈愿 1还愿 2忏悔不能为空")
    private Integer wishType;

    @Schema(description = "愿文内容")
    private String wishText;

    @Schema(description = "0公开 1隐藏", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "0公开 1隐藏不能为空")
    private Integer privacy;

    @Schema(description = "排位")
    private Integer rankNumber;

    @Schema(description = "回向功德")
    private String merit;

}